package com.xdf.xzymanagementsystem.service;

import com.xdf.xzymanagementsystem.dto.ExcelInputParamDTO;
import com.xdf.xzymanagementsystem.entity.CurrencyType;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : 张柯
 * @Date : 2021-04-14 09:25:22
 */
public interface CurrencyTypeService {
    int insert(CurrencyType record) throws Exception;

    int insertSelective(CurrencyType record) throws Exception;

    int multiInsert(List<CurrencyType> list) throws Exception;

    int updateByPrimaryKey(CurrencyType record) throws Exception;

    int updateByPrimaryKeySelective(CurrencyType record) throws Exception;

    int update(CurrencyType record) throws Exception;

    int multiUpdate(List<CurrencyType> list) throws Exception;

    CurrencyType selectByPrimaryKey(String id) throws Exception;

    int deleteByPrimaryKey(String id) throws Exception;

    List<CurrencyType> listQuery(CurrencyType record) throws Exception;

    int upload(MultipartFile file, ExcelInputParamDTO param, HttpServletRequest request) throws Exception;

}